<include file="Public::header" />
    <div>
        <php> if ($user && in_array(ACTION_NAME,array('infoset','phtoupload','linkset'))){ </php>
        <a href="{:U('memcp/infoset')}" title="帐号设置">帐号设置</a> | <a href="{:U('memcp/photoupload')}" title="头像设置">头像设置</a> | <a href="linkset" title="链接管理">链接管理</a>
        <php> } </php>
    </div>
	<div class="main">
        <form method="post" action="{:U('memcp/infoset')}"></p>
            <p>帐号:<input type="text" value="{$user['username']}" disabled="disabled"/></p>
            <p>呢称:<input type="text" name="nickname" value="<php> echo ($data['nickname']) ? $data['nickname'] : '';</php>" /><span>4-20个字符，支持中英文、数字、"_"或减号</span></p>
            <p>所在地区:
            <select id="province" name="province">
                <volist name="pro_city" id="vo">
                    <option value="{$key}" {$pro_curr[$key]}>{$vo['province']}</option>
                </volist>
            </select>
            <select id="city" name="city">
                <volist name="pro_city[$data['province']]['city']" id="vo">
                    <option value="{$key}" {$city_curr[$key]}>{$vo}</option>
                </volist>
             </select>
            </p>
            <p>QQ:<input type="text" name="qq" value="<php> echo ($data['qq']) ? $data['qq'] : '';</php>" /></p>
            <p>MSN:<input type="text" name="msn" value="<php> echo ($data['msn']) ? $data['msn'] : '';</php>" /></p>
            <p>GTALK:<input type="text" name="gtalk" value="<php> echo ($data['gtalk']) ? $data['gtalk'] : '';</php>" /></p>
            <p>SKYPE:<input type="text" name="skype" value="<php> echo ($data['skype']) ? $data['skype'] : '';</php>" /></p>
            <p>YY:<input type="text" name="yy" value="<php> echo ($data['yy']) ? $data['yy'] : '';</php>" /></p>
            <p>一段话介绍:<textarea name="about"><php> echo ($data['about']) ? $data['about'] : '';</php></textarea></p>
            <p><input type="submit" name="submit" value="submit" /></p>
        </form>
        <form method="post" action="{:U('member/updatepass')}"></p>
            <p>旧密码:<input type="text" name="old_password"/></p>
            <p>新密码:<input type="text" name="password"/></p>
            <p>重复新密码:<input type="text" name="password_again" /></p>
            <p><input type="submit" name="submit" value="submit" /></p>
        </form>
	</div>
	<!-- main End -->
<include file="Public::footer" />